package it.polimi.comorazio;

import android.os.Bundle;
import android.app.Activity;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.Menu;
import android.widget.TextView;

public class PoweredByActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_powered_by);

		TextView member = ((TextView) findViewById(R.id.contact_developer_1));
		member.setMovementMethod(LinkMovementMethod.getInstance());
		member.setText(Html.fromHtml(getString(R.string.contact_developer_1)));

		member = ((TextView) findViewById(R.id.contact_manager_1));
		member.setMovementMethod(LinkMovementMethod.getInstance());
		member.setText(Html.fromHtml(getString(R.string.contact_manager_1)));

		member = ((TextView) findViewById(R.id.contact_manager_2));
		member.setMovementMethod(LinkMovementMethod.getInstance());
		member.setText(Html.fromHtml(getString(R.string.contact_manager_2)));

		member = ((TextView) findViewById(R.id.contact_developer_2));
		member.setMovementMethod(LinkMovementMethod.getInstance());
		member.setText(Html.fromHtml(getString(R.string.contact_developer_2)));

		member = ((TextView) findViewById(R.id.contact_tutor));
		member.setMovementMethod(LinkMovementMethod.getInstance());
		member.setText(Html.fromHtml(getString(R.string.contact_tutor)));
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		// getMenuInflater().inflate(R.menu.activity_powered_by, menu);
		return true;
	}

}
